package com.wangshuqi.app.service;

import com.wangshuqi.app.dao.RoleMapper;
import com.wangshuqi.app.dao.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;

    @Autowired
    private RoleMapper roleMapper;

    public void test() {
        System.out.println(userMapper.getName());
        System.out.println(roleMapper.getRoleName());
    }
}
